package com.amigo.online.consumer.user.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.amigo.online.common.core.response.Response;

@FeignClient(name = "amigo-online-provider-user")
public interface LikeService {
	
	
	@RequestMapping(value = "/tan/like/{userId}", method = RequestMethod.GET)
	public ResponseEntity<Response> likeOne(@PathVariable("userId") Long userId);
	
	
	@RequestMapping(value = "/tan/dislike/{userId}", method = RequestMethod.GET)
	public ResponseEntity<Response> dislikeOne( @PathVariable("userId")  Long userId);
	
}
